package com.lovefreedom.psi.bean;

import java.util.HashSet;
import java.util.Set;

public class Category {	
	private int id;
	private int parentId; 
	private String name;
	private int level;
	private String sort;	
	//private Set<Category> children = new HashSet<Category>();
	private Set<Goods> goods = new HashSet<Goods>();
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public Set<Goods> getGoods() {
		return goods;
	}
	public void setGoods(Set<Goods> goods) {
		this.goods = goods;
	}
}
